<%@ page import="java.security.interfaces.RSAKey" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <title>学生实验系统</title>
    <script src="widgets/jquery/jquery-1.9.1.min.js"></script>
    <script src="widgets/bootstrap-3.4.1/js/bootstrap.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/widgets/bootstrap-3.4.1/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.css">
    <link rel="stylesheet" type="text/css" href="/css/main.css">
    <%
        String mainpage = (String) request.getAttribute("mainpage");
      /*  if (mainpage == null || mainpage.equals("")) {
            mainpage = "public/default.jsp";
        }*/

    %>
</head>

<script type="text/javascript">
    /*    function refreshSystem() {
            $.post("init", {},
                function (flag) {
                    var flag = eval('(' + flag + ')');
                    if (flag) {
                        alert("系统刷新成功！");
                    } else {
                        alert("系统刷新失败！");
                    }
                }
            );
        }*/
</script>

<body>
<div>

    <%--头部--%>
    <jsp:include page="public/head.jsp"/>
    <%--实验周期表--%>
    <jsp:include page="public/mainexp.jsp"/>
    <%--实验选课表--%>
    <jsp:include page="public/mainselect.jsp"/>

     <%--   <div class="span9">
            <jsp:include page="<%=mainpage %>"></jsp:include>
        </div>
     --%>
        <div style="margin:20px auto">
    <jsp:include page="public/foot.jsp"/>
        </div>
</div>
</body>
</html>